<div class="clearfix">
	<div class="uiLinkPreviewWrap">
		<div class="uiScaledImageWrap uiLinkPreviewImg lfloat mright10">
			<img src="<?php echo $thumbnail; ?>" max-width="200px"/>
		</div>
		<div class="uiLinkPreviewContent">
			<div class="uiLinkPreviewTitle">
				<input type="text" name="atms[link][title]" class="uiHidden" value="<?php echo $title; ?>"/>
				<span><?php echo $title; ?></span>			
			</div>
			<div class="uiLinkPreviewSubTitle">
				<?php echo $url; ?>
			</div>
			<div class="uiLinkPreviewSummary">
				<textarea class="uiHidden" name="atms[link][description]"><?php echo $description; ?></textarea>
				<div class="uiAttachmentDesc"><?php echo $description; ?></div>
			</div>
			<?php if($image_count): ?>
			<div class="uiLinkPreviewThumbPageControl">
				<a href>prev</a><a href>next</a> <span class="textGray">choose a thumbnail</span>
			</div>
			<div class="uiLinkPreviewThumbControl">
				<input type="checkbox" name="atms[link][nothumb]" id="nothumb" value="1" />
				<label for="nothumb">No Thumbnail</label>
			</div>
			<?php endif; ?>
		</div>
		<div class="hidden">
			<input type="hidden" />
		</div>
	</div>
	<input type="hidden" value="<?php echo $host; ?>" name="atms[link][host]" />
	<input type="hidden" value="<?php echo $url; ?>" name="atms[link][url]" />
	<input type="hidden" value="<?php echo $thumbnail; ?>" name="atms[link][thumbnail]" />
</div>
